package dao;

import entity.Pet;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * @Description
 * @Author 李楚鹏
 * @Date 2024/12/11 15:20
 **/
@Repository("petDao")
public class PetDaoMySQLImpl implements PetDao{

    @Override
    public int insert(Pet pet) {
        System.out.println("将宠物“"+pet.getName()+"”插入到MySQL数据库");
        return 1;
    }
}
